/**
 * 
 */
package org.whereiswally.main;


/**
 * @author lgiavedoni
 * 
 */
public abstract class AbstractMain {

    public static void setDefaultProperties() {
	System.setProperty("log4j.configuration",
		"file:./config/log/log4j.properties");
	System.setProperty("jppf.config",
		"./config/jppf/jppf-client.properties");
    }

    protected abstract void setProperties();

    public void run() {
	setDefaultProperties();
	setProperties();
	// FaintTestRunner.main(null);
    }

}
